using NUnit.Framework;
using System;
using SmartBoard.Core.Server;

namespace SmartBoard.Core._Test
{
    [TestFixture]
    public class ServerMessageBuilderTest
    {
        [Test]
        public void AlgoTest()
        {
            var builder = new ServerMessageBuilder();
            var bytes = BitConverter.GetBytes((double) 45373489556968.444333);
            var message = new ServerMessage(45, 2245, bytes);
            var messageBytes = builder.GetRawBuffer(message);
            var returnedMessage = builder.GetServerMessage(messageBytes);
        }
    }
}